package com.aliyun.messagemgt.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author yangshaobo
 * @date 2021年10月13日
 */
@Data
public class ChannelEmailParam implements Serializable {
    @ApiModelProperty(value = "参数表ID")
    private Long id;

    @ApiModelProperty(value = "渠道id")
    private Long pushChannelId;

    @ApiModelProperty(value = "属性编码")
    private String attributeCode;

    @ApiModelProperty(value = "属性值")
    private String attributeValue;

    @ApiModelProperty(value = "是否逻辑删除 Y-已删除 N-未删除")
    private String isDeleted;

    @ApiModelProperty(value = "创建人")
    private String creator;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gmtCreated;

    @ApiModelProperty(value = "修改人")
    private String modifier;

    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gmtModified;

}
